<!doctype html>
<html xmlns="http://www.w3.org/1999/xhtml" id="html">
    <head>
        <title></title>
        <meta http-equiv="content-type" content="text/html; charset=utf-8" />
        <base href="<?= base_url(1); ?>" />
        <link type="text/css" href="css/main.css?v=<?= $config['version'] ?>" rel="stylesheet" />
    </head>
    <body>
        <?php include(VIEWPATH . 'common/main_header.php'); ?>
        <div class="datalist"><table id="flexigrid" style="display:none"></table></div>
        <script type="text/javascript">
            $(function() {
                $("#flexigrid").flexigrid($.extend(SG.flexOptions, {
                    url: '<?= site_url('log_role/accountcreate/flexigrid') ?>',
                    colModel: 
                    [
//						{display: '<?//= translate('LOG_ROLE_ACCOUNTCREATE_ID') ?>//', name: 'id', width: '100', process: formatSearch},
						{display: '<?= translate('LOG_ROLE_REG_DATE') ?>', name: 'regdate', width: '150'},
						{display: '<?= translate('LOG_ROLE_REG_COUNT') ?>', name: 'regcount', width: '150'},
                        {display: '<?= translate('LOG_ROLE_RETAINED_S2') ?>', name: 'retaineds2', width: '100'},
                        {display: '<?= translate('LOG_ROLE_RETAINED_SR2') ?>', name: 'retainedsr2', width: '100'},
                        {display: '<?= translate('LOG_ROLE_RETAINED_S7') ?>', name: 'retaineds7', width: '100'},
                        {display: '<?= translate('LOG_ROLE_RETAINED_SR7') ?>', name: 'retainedsr7', width: '100'},
                        {display: '<?= translate('LOG_ROLE_RETAINED_S30') ?>', name: 'retaineds30', width: '100'},
                        {display: '<?= translate('LOG_ROLE_RETAINED_SR30') ?>', name: 'retainedsr30', width: '100'},
                        {display: '<?= translate('LOG_ROLE_RETAINED_S60') ?>', name: 'retaineds60', width: '100'},
                        {display: '<?= translate('LOG_ROLE_RETAINED_SR60') ?>', name: 'retainedsr60', width: '100'},
//                        {display: '<?//= translate('LOG_ROLE_ACCOUNTCREATE_IP') ?>//', name: 'ip', width: '150'},
//                        {display: '<?//= translate('LOG_ROLE_OPERATIONTIME') ?>//', name: 'operation_time', width: '150'},
                    ],
		    		buttons: [{name: 'export', displayname: "<?= translate('EXPORT') ?>", bclass: 'export', onpress: multi},{separator: true}],
                    searchitems: [{display: '<?= translate('LOG_ROLE_START_TIME') ?>', name: 'start_time'},{display: '<?= translate('LOG_ROLE_END_TIME') ?>', name: 'end_time'}],
                }));                
            });
        </script>
    </body>
</html>